package com.iafme.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.iafme.dto.req.InformationEmailReqDTO;
import com.iafme.dto.req.InformationReqDTO;
import com.iafme.dto.res.InformationResDTO;
import com.iafme.model.Information;

/**
 * @author summer
 * @version 1.0
 * @date 2025/3/23 14:11
 */
public interface InformationService extends IService<Information> {

    Page<InformationResDTO> lists(InformationReqDTO informationReqDTO);

    /**
     * 发送邮件
     * @param emailReqDTO
     */
    void sendEmail(InformationEmailReqDTO emailReqDTO);
}
